Clipboard API |
General sequence for implementing paste | |
![]() |
Request the contents of the clipboard using
clipboard.getContents()
which returns a handle to an object which implements transferable |
![]() |
Request the list of available data flavors which the transferable object supports by using its
getTransferDataFlavors()
method
|
![]() |
Request the data in the desired available flavor using the
transferable object's
getTransferData()
method
|